package com.bruceliu.mapper;

import com.bruceliu.bean.FoodType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @BelongsProject: RestaurantSystem
 * @BelongsPackage: com.bruceliu.mapper
 * @Author: bruceliu
 * @QQ:1241488705
 * @CreateTime: 2020-02-29 12:33
 * @Description: 菜系mapper层
 */
@Mapper
public interface FoodTypeMapper {

    public int addFoodType(FoodType foodType);

    public int deleteFoodType(int id);

    public int updateFoodType(FoodType foodType);

    public List<FoodType> getFoodTypes(FoodType foodType);

    public FoodType getById(int id);

    public List<FoodType> getAllFoodTypes();
}
